home *** CD-ROM | disk | FTP | other *** search
/ Plug-In Power Pack for Netscape Communicator / Plug-In Power Pack for Netscape Communicator.iso / plugins / dataviews / dvtools / examples / windows / mfc_mdi / mfc_mdidoc.h < prev    next >
Encoding:
C/C++ Source or Header  |  1997-05-08  |  1.4 KB  |  62 lines

  1. // mfc_mdiDoc.h : interface of the CMfc_mdiDoc class
  2. //
  3. /////////////////////////////////////////////////////////////////////////////
  4.  
  5. #ifndef CMFC_MDIDOC_H
  6. #define CMFC_MDIDOC_H
  7.  
  8. // Standard DataViews header:
  9. #include "Tfundecl.h"    // T routines (screens, drawports & views)
  10.  
  11.  
  12. class CMfc_mdiDoc : public CDocument
  13. {
  14. protected: // create from serialization only
  15.     CMfc_mdiDoc();
  16.     DECLARE_DYNCREATE(CMfc_mdiDoc)
  17.  
  18. // Attributes
  19. public:
  20.  
  21. // Operations
  22. public:
  23.     //
  24.     //    Returns the DataViews VIEW handle associated with this document.
  25.     //
  26.     VIEW GetDVview() { return m_DVview; }
  27.  
  28. // Overrides
  29.     // ClassWizard generated virtual function overrides
  30.     //{{AFX_VIRTUAL(CMfc_mdiDoc)
  31.     public:
  32.     virtual void Serialize(CArchive& ar);
  33.     virtual BOOL OnOpenDocument(LPCTSTR lpszPathName);
  34.     //}}AFX_VIRTUAL
  35.  
  36. // Implementation
  37. public:
  38.     virtual ~CMfc_mdiDoc();
  39. #ifdef _DEBUG
  40.     virtual void AssertValid() const;
  41.     virtual void Dump(CDumpContext& dc) const;
  42. #endif
  43.  
  44. protected:
  45.     //
  46.     //    The DataViews VIEW handle associated with this document.
  47.     //
  48.     VIEW m_DVview;
  49.  
  50. // Generated message map functions
  51. protected:
  52.     //{{AFX_MSG(CMfc_mdiDoc)
  53.         // NOTE - the ClassWizard will add and remove member functions here.
  54.         //    DO NOT EDIT what you see in these blocks of generated code !
  55.     //}}AFX_MSG
  56.     DECLARE_MESSAGE_MAP()
  57. };
  58.  
  59. /////////////////////////////////////////////////////////////////////////////
  60.  
  61. #endif
  62.